﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 面向对象练习
{
    internal class Student
    {
        //属性
        public string Name { get; set; }
        public string Id { get; set; }

        //行为
        public void SayDao()
        {
            Console.WriteLine("{0},学号为{1},到!",Name,Id);
        }
    }
}
